package org.example.new_hbps_backend_reconstruction.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 丁利军
 * @date 2025年10月10日 10:37
 * @description TODO: 描述
 */

@Data
@TableName("patient_doctor")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "医患绑定表")
public class PatientDoctorEntity extends Model<PatientDoctorEntity> {


    /**
     * pdId
     */
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="pdId")
    private Long pdId;

    /**
     * patientUid
     */
    @Schema(description="patientUid")
    private Long patientUid;

    /**
     * doctorUid
     */
    @Schema(description="doctorUid")
    private Long doctorUid;

    /**
     * care
     */
    @Schema(description="care")
    private Integer care;
}